package www.tshu.dao;

import www.tshu.pojo.PI;
import www.tshu.pojo.User;
import www.tshu.util.PageUtil;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {
    int addUser(PI pi)throws SQLException;

    int addPi(PI pi)throws SQLException;

    int editPwd(User user)throws SQLException;

    int getUserListCount(User user)throws SQLException;

    List<PI> userList(User user, PageUtil pageUtil)throws SQLException;



    int delUser(String uid)throws SQLException;

    int delPi(String uid)throws SQLException;

    int delUb(String uid)throws SQLException;
}
